public class Main {
    public static void main(String[] args) {
        Player player1=new Player("张三");
        Player player2=new Player("李四");
        Player player3=new Player("王五");
        AllyControlCenter allyControlCenter=new ConcreteAllyControlCenter("张三");
        allyControlCenter.join(player2);
        allyControlCenter.join(player3);
        player1.beAttacked(allyControlCenter);
    }
}